<?php

namespace Gnway\Ticket\Rest\Facades;

use Gnway\Ticket\Rest\Request\FrontHttpRequest;

/**
 * Class Request
 *
 * @method static mixed|null|array getParameter(array|string|null $index = NULL);
 * @method static mixed|null|array get(array|string|null $index = NULL);
 * @method static mixed|null|array post(array|string|null $index = NULL);
 * @method static mixed|null|array stream(array|string|null $index = NULL);
 * @method static mixed|null|array cookie(array|string|null $index = NULL);
 * @method static mixed|null|array server(array|string|null $index = NULL);
 * @method static boolean isMethod(string $method);
 * @method static boolean isAjax();
 * @package Gnway\Ticket\Rest\Facades
 */
final class Request extends Facade
{

  /**
   * Get Request Facade Accessor
   *
   * @return string
   */
  protected static function getFacadeAccessor(): string
  {
    return FrontHttpRequest::class;
  }
}